Type GUI_v0_Splash Extends GUI_Splash

	Method show()
		Graphics(640, 120, 0)
		SetClsColor(80, 0, 0)
		SetColor(255, 255, 255)
		Cls()
		DrawText(AppTitle, (GraphicsWidth() - TextWidth(AppTitle)) / 2, 5)
		DrawLine(0, TextHeight(AppTitle) + 10, GraphicsWidth(), TextHeight(AppTitle) + 10)
		Flip(0)
	End Method
	
	Method hide()
		EndGraphics()
	End Method

	Method Update(s:LibraryLoaderStrategy)
		SetClsColor(0, 0, 80)
		SetColor(255, 255, 255)
		Cls()
		DrawText(AppTitle, (GraphicsWidth() - TextWidth(AppTitle)) / 2, 5)
		DrawLine(0, TextHeight(AppTitle) + 10, GraphicsWidth(), TextHeight(AppTitle) + 10)
		Local m:String = s.getStatusMessage()
		DrawText(m, 5, GraphicsHeight() - 16 - TextHeight(m))
		DrawRect(0, GraphicsHeight() - 10, GraphicsWidth() * s.getProgress(), 10)
		Flip(0)
	End Method

End Type
